package com.TestDemo.Test2;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2021/10/07/9:31
 * @Description: 括号里定义的是长度
 * @Target: 测试下数组里arr[] 括号里定义的是长度,还是下标
 */
public class ArrLenTest {
    public static void main(String[] args) {
        int arr[]  = new int[8];
        System.out.println("长度为:"+ arr.length);
    }
}
